﻿Imports DAO
Imports DTO

Public Class EditHanhKhach
    Private dao_themhk As New DAO.EditHanhKhach

    Public Function CheckHK(ByVal cmnd As String) As Boolean
        Return dao_themhk.Check(cmnd)
    End Function

    Public Function save(ByVal dtokhachhang As DTO.EditHanhKhach) As Integer
        Return dao_themhk.save(dtokhachhang)
    End Function

    Public Function dtload(ByVal mahk As Integer) As DataSet
        Return dao_themhk.dtload(mahk)
    End Function

    Public Function lay_thong_tin_hanh_khach(ByVal cmnd As String) As DTO.EditHanhKhach
        Return dao_themhk.lay_thong_tin_hanh_khach(cmnd)
    End Function

End Class
